package com.service.admin.merchant.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.admin.merchant.controller.rep.MerchantPageRep;
import com.service.admin.merchant.controller.req.MerchantAuditReq;
import com.service.admin.merchant.controller.req.MerchantPageReq;
import com.service.core.rest.response.CommonPageRep;
import com.service.dao.enums.MerchantEnums;
import com.service.dao.model.Merchant;


/**
 * 商家信息表
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2020-03-28 12:54:56
 */
public interface MerchantService extends IService<Merchant> {

    CommonPageRep<MerchantPageRep> page(MerchantPageReq pageReq);

    void audit(Integer merchantId, MerchantAuditReq auditReq);

    void batchUpdateMerchantStatus(Integer[] ids, MerchantEnums.Status status);
}

